package com.sumi.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 虚拟仓位对象 base_warehouse_location
 * 
 * @author fgf67@163.com
 * @date 2024-06-28
 */
public class BaseWarehouseLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 虚拟仓位id */
    private Long id;

    /** 仓库组id */
    @Excel(name = "仓库组id")
    private Long groupId;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long virtualWarehouseId;

    /** 仓位名称 */
    @Excel(name = "仓位名称")
    private String locationName;

    /**  是否默认(0否 1是) */
    @Excel(name = " 是否默认(0否 1是)")
    private Integer isDefault;

    /** 使用部门 */
    @Excel(name = "使用部门")
    private Long departmentId;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setVirtualWarehouseId(Long virtualWarehouseId) 
    {
        this.virtualWarehouseId = virtualWarehouseId;
    }

    public Long getVirtualWarehouseId() 
    {
        return virtualWarehouseId;
    }
    public void setLocationName(String locationName) 
    {
        this.locationName = locationName;
    }

    public String getLocationName() 
    {
        return locationName;
    }
    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setCreateUid(Long createUid) 
    {
        this.createUid = createUid;
    }

    public Long getCreateUid() 
    {
        return createUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("virtualWarehouseId", getVirtualWarehouseId())
            .append("locationName", getLocationName())
            .append("isDefault", getIsDefault())
            .append("departmentId", getDepartmentId())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createUid", getCreateUid())
            .toString();
    }
}
